Example #1
0
func (l *Level) SetView(v *views.ViewPort) {
	l.view = v
	v.SetContentSize(l.width, l.height, true)
	l.manager.SetView(v)
}
Example #2
0
func (m *SpriteManager) SetView(v *views.ViewPort) {
	m.view = v
	v.SetContentSize(m.width, m.height, true)
}