default spring config
This commit is contained in:
20
core/src/main/resources/spring.xml
Normal file
20
core/src/main/resources/spring.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd">
|
||||
<context:annotation-config />
|
||||
|
||||
<bean id="playerManager" class="mc.core.embedded.FakePlayerManager"/>
|
||||
|
||||
<bean id="gameLoop" class="mc.core.GameLoop">
|
||||
<property name="gameTimer">
|
||||
<bean class="mc.core.time.TimePerTick"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="server" class="mc.core.embedded.FakeServer"/>
|
||||
</beans>
|
||||
Reference in New Issue
Block a user